package com.thread;

/**
 * Created by Administrator on 2018/5/28.
 */
public class TestThread2 extends Thread {

    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
//            System.out.println("测试运行TestThread2的run方法." + Thread.currentThread().getName());
//            System.out.println("测试运行TestThread2的run方法." + Thread.currentThread().getName() + ",i:" + i);
            System.out.println("i:" + i);
        }
    }
}
